﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateWeb" Bound="false" xmlns="http://schemas.microsoft.com/pag/gax-core" >
    <xi:include href="Include/TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <Caption>(Re)Create 'Web' Pages </Caption>
    <HostData>
      <!--<Icon ID="500"/>-->
      <Icon File="img/ProjIconWeb.ico"/>
      <CommandBar Name="Project" />
      <CommandBar Name="Folder"/>
      <CommandBar Name="Item" />
      <CommandBar Name="Project Add"/>
    </HostData>
    <xi:include href="Include/Arguments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  
    <GatheringServiceData>
      <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
        <Pages>
          <Page>
            <Title>(Re)Creates Entity (with possibly 3 properties) and its searched object</Title>
            <Fields>
              <Field ValueName="EntityName" Label="Class Name" />
              <Field ValueName="Property1" Label="Property (Code) - if provided, GetDomainObjectSignature() returns its value "  />
              <Field ValueName="Property2" Label="Property (Name) - if provided, ToDisplay() return its value "  />
              <Field ValueName="Property3" Label="Property  ... " />
              <Field ValueName="Namespace" Label="Namespace"  />
              <Field ValueName="EntityBase" Label="!ADVANCED: Name of another 'abstract' entity to be used as a base class (except Codelist). Expects that there is some generic abstract Entity (similar to CodeList) providing some base operations"  />
                  
            </Fields>
          </Page>

            <Page Type="ProjectBase.Guidance.CustomWizardPages.EntityTypePage,ProjectBase.Guidance">
                <Title>Standard persitent, CodeList, light ICodeList, Tracked</Title>                
            </Page>
            
          <Page>
            <Title>(Do not change these settings)</Title>
            <Fields>
              <Field ValueName="IsOnlyMVC" Label="Model, Controller and View without Entity (e.g. Home, Reports)" ReadOnly="true"  />
            </Fields>
          </Page>
        </Pages>
      </Wizard>
    </GatheringServiceData>
    <Actions CoordinatorServiceType="ActionCoordinator" >

      <xi:include href="Include/06/06GenDetail.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/06/06AddDetail.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

      <xi:include href="Include/06/06GenFind.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/06/06AddFind_Stop.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

      <xi:include href="Include/06/06GenDetailControl.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/06/06AddDetailControl.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

      <xi:include href="Include/06/06GenFindControl.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/06/06AddFindControl.cshtml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      
    </Actions>
  </Recipe>
